// ILiteDownloadServiceListener.aidl
package com.coocaa.x.service.litedownloader2.aidl;

import com.coocaa.x.service.litedownloader2.aidl.DownloadTask;

interface ILiteDownloadServiceListener {
    void onStarted(in DownloadTask task);
    void onPaused(in DownloadTask task);
    void onCanceled(in DownloadTask task);
    void onProgressUpdate(in DownloadTask task,int percent,long fileSize, long downloadedSize);
    
    void onSuccess(in DownloadTask task);
    void onError(in DownloadTask task,int err_code, String err_msg);
}
